package com.jk.service;

import com.jk.dao.BannerDao;
import com.jk.entity.BannerEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerService {

    @Autowired
    private BannerDao bannerDao;

    public List<BannerEntity> getBanner() {

        return bannerDao.getBanner();
    }
}
